#ifndef PUT_IMAGE_H
#define PUT_IMAGE_H

#include <QThread>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkAccessManager>
#include <QVariant>
#include <qdebug.h>
#include <QXmlStreamAttributes>
#include <QTextCodec>
#include <QtScript>
#include <QThread>
#include "datebase.h"
#include "systemfile.h"
#include "filemanage.h"
class Put_Image : public QThread
{
    Q_OBJECT
public:
    explicit Put_Image(datebase *db,FileManage *filemg,QObject *parent = 0);
    datebase *myDb;
    FileManage *filelink;
private:
   //QNetworkAccessManager *manager;
signals:
    void PutSignal(bool);
public slots:
    void tempcarimage(QByteArray image,QString file_name);
    void put_image();//上传照片
    bool generalWebTempImage(QNetworkReply *reply);
protected:
    void run();
};

#endif // PUT_IMAGE_H
